From: kaf24@firebug.cl.cam.ac.uk Date: Wed, 13 Sep 2006 12:54:59 +0000 (+0100) Subject: [TOOLS] Enhance Python version check for v2.5. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15658^2~53^2~12 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=9f019b36fd2def8378029007a2166712499de18c;p=xen.git [TOOLS] Enhance Python version check for v2.5. From: Charles Coffing Signed-off-by: Keir Fraser --- diff --git a/tools/check/check_python b/tools/check/check_python index a217a67141..a30b0690a2 100755 --- a/tools/check/check_python +++ b/tools/check/check_python @@ -7,4 +7,4 @@ function error { exit 1 } -python -V 2>&1 | cut -d ' ' -f 2 | grep -q -E '^2.2|^2.3|^2.4' || error +python -V 2>&1 | cut -d ' ' -f 2 | grep -q '^2.[2345]' || error